.class Lcom/instagram/android/login/b/q;
.super Ljava/lang/Object;
.source "LookupFragment.java"

# interfaces
.implements Ljava/lang/Runnable;


# instance fields
.field final synthetic a:Lcom/instagram/android/login/d/h;

.field final synthetic b:Lcom/instagram/android/login/b/p;


# direct methods
.method constructor <init>(Lcom/instagram/android/login/b/p;Lcom/instagram/android/login/d/h;)V
    .locals 0
    .parameter
    .parameter

    .prologue
    .line 49
    iput-object p1, p0, Lcom/instagram/android/login/b/q;->b:Lcom/instagram/android/login/b/p;

    iput-object p2, p0, Lcom/instagram/android/login/b/q;->a:Lcom/instagram/android/login/d/h;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public run()V
    .locals 3

    .prologue
    .line 52
    new-instance v0, Landroid/os/Bundle;

    invoke-direct {v0}, Landroid/os/Bundle;-><init>()V

    .line 53
    iget-object v1, p0, Lcom/instagram/android/login/b/q;->a:Lcom/instagram/android/login/d/h;

    invoke-virtual {v1}, Lcom/instagram/android/login/d/h;->a()Lcom/instagram/android/model/b/e;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 54
    const-string v1, "has_valid_phone"

    iget-object v2, p0, Lcom/instagram/android/login/b/q;->a:Lcom/instagram/android/login/d/h;

    invoke-virtual {v2}, Lcom/instagram/android/login/d/h;->c()Z

    move-result v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putBoolean(Ljava/lang/String;Z)V

    .line 56
    const-string v1, "userid"

    iget-object v2, p0, Lcom/instagram/android/login/b/q;->a:Lcom/instagram/android/login/d/h;

    invoke-virtual {v2}, Lcom/instagram/android/login/d/h;->a()Lcom/instagram/android/model/b/e;

    move-result-object v2

    invoke-virtual {v2}, Lcom/instagram/android/model/b/e;->k()Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    .line 60
    :goto_0
    new-instance v1, Lcom/instagram/e/b/a/a;

    iget-object v2, p0, Lcom/instagram/android/login/b/q;->b:Lcom/instagram/android/login/b/p;

    iget-object v2, v2, Lcom/instagram/android/login/b/p;->a:Lcom/instagram/android/login/b/o;

    invoke-virtual {v2}, Lcom/instagram/android/login/b/o;->m()Landroid/support/v4/app/r;

    move-result-object v2

    invoke-direct {v1, v2}, Lcom/instagram/e/b/a/a;-><init>(Landroid/support/v4/app/r;)V

    new-instance v2, Lcom/instagram/android/login/b/bi;

    invoke-direct {v2}, Lcom/instagram/android/login/b/bi;-><init>()V

    invoke-virtual {v1, v2, v0}, Lcom/instagram/e/b/a/a;->a(Landroid/support/v4/app/Fragment;Landroid/os/Bundle;)Lcom/instagram/e/b/a/a;

    move-result-object v0

    invoke-virtual {v0}, Lcom/instagram/e/b/a/a;->e()V

    .line 63
    return-void

    .line 58
    :cond_0
    const-string v1, "email_lookup"

    iget-object v2, p0, Lcom/instagram/android/login/b/q;->b:Lcom/instagram/android/login/b/p;

    iget-object v2, v2, Lcom/instagram/android/login/b/p;->a:Lcom/instagram/android/login/b/o;

    invoke-static {v2}, Lcom/instagram/android/login/b/o;->a(Lcom/instagram/android/login/b/o;)Ljava/lang/String;

    move-result-object v2

    invoke-virtual {v0, v1, v2}, Landroid/os/Bundle;->putString(Ljava/lang/String;Ljava/lang/String;)V

    goto :goto_0
.end method
